package com.lill.workflow.model;

import java.io.Serializable;
import java.util.List;

/**
 * 实体
 * 表名 workflow_current
 *
 * @author lill
 * @date 2019-05-26 12:05:20
 */
public class WorkflowCurrentModel implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;
    /**
     * 所属流程
     */
    private String workflowId;
    private String workflowName;
    /**
     * 所属业务
     */
    private String businessId;
    private String businessName;
    private String type;
    /**
     * 审核结果：2：审核中；3：审核结束-通过；4：审核结束-不通过
     */
    private Integer audit;
    /**
     * 当前审核员工ID
     */
    private String currentEmployeeId;
    /**
     * 下一个审核员工ID
     */
    private String nextEmployeeId;
    /**
     * 原因
     */
    private String reason;
    
    private Integer step;
    
    private Integer frequency;
    
    private List<WorkflowStepHistoryModel> historyList;

    /**
     * 设置：主键
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 获取：主键
     */
    public String getId() {
        return id;
    }
    /**
     * 设置：所属流程
     */
    public void setWorkflowId(String workflowId) {
        this.workflowId = workflowId;
    }

    /**
     * 获取：所属流程
     */
    public String getWorkflowId() {
        return workflowId;
    }
    /**
     * 设置：所属业务
     */
    public void setBusinessId(String businessId) {
        this.businessId = businessId;
    }

    /**
     * 获取：所属业务
     */
    public String getBusinessId() {
        return businessId;
    }
    /**
     * 设置：审核结果：1：审核中；2：审核结束-通过；3：审核结束-不通过
     */
    public void setAudit(Integer audit) {
        this.audit = audit;
    }

    /**
     * 获取：审核结果：1：审核中；2：审核结束-通过；3：审核结束-不通过
     */
    public Integer getAudit() {
        return audit;
    }
    /**
     * 设置：当前审核员工ID
     */
    public void setCurrentEmployeeId(String currentEmployeeId) {
        this.currentEmployeeId = currentEmployeeId;
    }

    /**
     * 获取：当前审核员工ID
     */
    public String getCurrentEmployeeId() {
        return currentEmployeeId;
    }
    /**
     * 设置：下一个审核员工ID
     */
    public void setNextEmployeeId(String nextEmployeeId) {
        this.nextEmployeeId = nextEmployeeId;
    }

    /**
     * 获取：下一个审核员工ID
     */
    public String getNextEmployeeId() {
        return nextEmployeeId;
    }
    /**
     * 设置：原因
     */
    public void setReason(String reason) {
        this.reason = reason;
    }

    /**
     * 获取：原因
     */
    public String getReason() {
        return reason;
    }

	public String getWorkflowName() {
		return workflowName;
	}

	public void setWorkflowName(String workflowName) {
		this.workflowName = workflowName;
	}

	public String getBusinessName() {
		return businessName;
	}

	public void setBusinessName(String businessName) {
		this.businessName = businessName;
	}

	public List<WorkflowStepHistoryModel> getHistoryList() {
		return historyList;
	}

	public void setHistoryList(List<WorkflowStepHistoryModel> historyList) {
		this.historyList = historyList;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Integer getStep() {
		return step;
	}

	public void setStep(Integer step) {
		this.step = step;
	}

	public Integer getFrequency() {
		return frequency;
	}

	public void setFrequency(Integer frequency) {
		this.frequency = frequency;
	}
}
